package olegroshka.src.com.bofa.olegroshka.aggregators;

import java.math.BigDecimal;


public class SummingAggregator implements Aggregator<BigDecimal, BigDecimal> {
	
	public BigDecimal aggregate(BigDecimal aggregat, BigDecimal value) {
		return aggregat != null ? aggregat.add(value) : value;
	}

}
